<!DOCTYPE HTML>
<html>
<head>
    <meta charset="utf-8">
    <meta name="renderer" content="webkit|ie-comp|ie-stand">
    <link rel="Bookmark" href="../imgs/bai.ico"/>
    <link rel="Shortcut Icon" href="../imgs/bai.ico"/>
    <link rel="stylesheet" type="text/css" href="../static/h-ui/css/H-ui.min.css"/>
    <link rel="stylesheet" type="text/css" href="../static/h-ui.admin/css/H-ui.admin.css"/>
    <link rel="stylesheet" type="text/css" href="../lib/Hui-iconfont/1.0.8/iconfont.css"/>
    <link rel="stylesheet" type="text/css" href="../static/h-ui.admin/skin/default/skin.css" id="skin"/>
    <link rel="stylesheet" type="text/css" href="../static/h-ui.admin/css/style.css"/>
    <title>后台管理</title>
    <style type="text/css">
        .riqi { margin-right: 5px; padding: 5px; width: 50px; height: 25px; text-align: center; }
    </style>
</head>
<body>
<article class="cl pd-20">
    <div class="form form-horizontal">
        <div class="row cl">
            <label class="form-label col-xs-4 col-sm-2">
                <span class="c-red">*</span> 项目名称：
            </label>
            <div class="formControls col-xs-8 col-sm-9">
                <input type="text" class="input-text" id="title" placeholder="输入项目名称"/>
            </div>
        </div>
        <div class="row cl">
            <label class="form-label col-xs-4 col-sm-2">
                <span class="c-red">*</span> 开始时间：
            </label>
            <div class="formControls col-xs-8 col-sm-9">
                <!-- <input type="text" class="input-text riqi" id="start_y"/> 年
                <input type="text" class="input-text riqi" id="start_m"/> 月
                <input type="text" class="input-text riqi" id="start_d"/> 日
                &nbsp; &nbsp; &nbsp; &nbsp;
                <input type="text" class="input-text riqi" id="start_h"/> 时
                <input type="text" class="input-text riqi" id="start_i"/> 分 -->
                <!-- <input type="text" placeholder="点击选择" onfocus="WdatePicker({maxDate:'#F{$dp.$D(\'startday\')||\'%y-%M-%d\'}'})" id="startday" class="input-text Wdate" readonly/> -->
                <input type="text" placeholder="点击选择" onfocus="WdatePicker();" id="startday" class="input-text Wdate" readonly/>
            </div>
        </div>
        <div class="row cl">
            <label class="form-label col-xs-4 col-sm-2">
                <span class="c-red">*</span> 结束时间：
            </label>
            <div class="formControls col-xs-8 col-sm-9">
                <!-- <input type="text" class="input-text riqi" id="end_y"/> 年
                <input type="text" class="input-text riqi" id="end_m"/> 月
                <input type="text" class="input-text riqi" id="end_d"/> 日
                &nbsp; &nbsp; &nbsp; &nbsp;
                <input type="text" class="input-text riqi" id="end_h"/> 时
                <input type="text" class="input-text riqi" id="end_i"/> 分 -->
                <!-- <input type="text" placeholder="点击选择" onfocus="WdatePicker({maxDate:'#F{$dp.$D(\'endday\')||\'%y-%M-%d\'}'})" id="endday" class="input-text Wdate" readonly/> -->
                <input type="text" placeholder="点击选择" onfocus="WdatePicker();" id="endday" class="input-text Wdate" readonly/>
            </div>
        </div>
        <div class="row cl">
            <label class="form-label col-xs-4 col-sm-2">
                <span class="c-red">*</span> 负责人：
            </label>
            <div class="formControls col-xs-8 col-sm-9">
                <!--<input type="text" class="input-text" id="leader_name" placeholder="输入负责人名称"/>-->
                <select class="input-text" id="leader_id"></select>
            </div>
        </div>
        <div class="row cl">
            <label class="form-label col-xs-4 col-sm-2">
                <span class="c-red">*</span> 所在部门
            </label>
            <div class="formControls col-xs-8 col-sm-9">
                <select class="input-text" id="depart_id"></select>
            </div>
        </div>
        <div class="row cl">
            <div class="col-xs-8 col-sm-9 col-xs-offset-4 col-sm-offset-3">
                <input class="btn btn-primary radius" type="button" style="width: 50%;"
                       value="&nbsp;&nbsp;提 交&nbsp;&nbsp;" onclick="modify();"/>
            </div>
        </div>
    </div>
</article>

<!--自定义弹窗-->
<span id="msgPop"></span>
</body>
</html>


<script type="text/javascript" src="../lib/jquery/1.9.1/jquery.min.js"></script>
<script type="text/javascript" src="../lib/layer/2.4/layer.js"></script>
<script type="text/javascript" src="../static/h-ui/js/H-ui.js"></script>
<script type="text/javascript" src="../static/h-ui.admin/js/H-ui.admin.page.js"></script>
<script type="text/javascript" src="../lib/My97DatePicker/4.8/WdatePicker.js"></script>
<script type="text/javascript" src="../lib/datatables/1.10.0/jquery.dataTables.min.js"></script>
<script type="text/javascript" src="../js/view.js"></script>
<script type="text/javascript" src="../js/yw-basic/item.js"></script>
<script type="text/javascript">
    var id = getParamByUrl('id');
    var title = getParamByUrl('title');
    var starttime = getParamByUrl('starttime');
    var endtime = getParamByUrl('endtime');
    var leader_id = getParamByUrl('leader_id');
    var depart_id = getParamByUrl('depart_id');
    (function (){
        getOne();
    })();
</script>